using System;
using System.Collections.Generic;
using OJM;

namespace Server.Records
{
  public partial class TClient : TRecord
  {
    public TClient()
    {
    }

    private TStringField _ClientName = new TStringField("ClientName");
    public string ClientName
    {
      get { return _ClientName.Get(); }
      set { _ClientName.Set(value); }
    }

    private TStringField _InsuranceCompany = new TStringField("InsuranceCompany");
    public string InsuranceCompany
    {
      get { return _InsuranceCompany.Get(); }
      set { _InsuranceCompany.Set(value); }
    }

    private TStringField _PolicyNumber = new TStringField("PolicyNumber");
    public string PolicyNumber
    {
      get { return _PolicyNumber.Get(); }
      set { _PolicyNumber.Set(value); }
    }

    private TDateTimeField _EffectiveDate = new TDateTimeField("EffectiveDate");
    public DateTime EffectiveDate
    {
      get { return _EffectiveDate.Get(); }
      set { _EffectiveDate.Set(value); }
    }

    private TDateTimeField _InitDate = new TDateTimeField("InitDate");
    public DateTime InitDate
    {
      get { return _InitDate.Get(); }
      set { _InitDate.Set(value); }
    }

    private TDateTimeField _ModifiedDate = new TDateTimeField("ModifiedDate");
    public DateTime ModifiedDate
    {
      get { return _ModifiedDate.Get(); }
      set { _ModifiedDate.Set(value); }
    }

    private TStringField _PolicyCost = new TStringField("PolicyCost");
    public string PolicyCost
    {
      get { return _PolicyCost.Get(); }
      set { _PolicyCost.Set(value); }
    }

    private TStringField _Fees = new TStringField("Fees");
    public string Fees
    {
      get { return _Fees.Get(); }
      set { _Fees.Set(value); }
    }

    private TStringField _TotalPolicyCost = new TStringField("TotalPolicyCost");
    public string TotalPolicyCost
    {
      get { return _TotalPolicyCost.Get(); }
      set { _TotalPolicyCost.Set(value); }
    }

    private TStringField _Suffix = new TStringField("Suffix");
    public string Suffix
    {
      get { return _Suffix.Get(); }
      set { _Suffix.Set(value); }
    }

    private TStringField _FirstName = new TStringField("FirstName");
    public string FirstName
    {
      get { return _FirstName.Get(); }
      set { _FirstName.Set(value); }
    }

    private TStringField _MiddleName = new TStringField("MiddleName");
    public string MiddleName
    {
      get { return _MiddleName.Get(); }
      set { _MiddleName.Set(value); }
    }

    private TStringField _LastName = new TStringField("LastName");
    public string LastName
    {
      get { return _LastName.Get(); }
      set { _LastName.Set(value); }
    }

    private TStringField _Gender = new TStringField("Gender");
    public string Gender
    {
      get { return _Gender.Get(); }
      set { _Gender.Set(value); }
    }

    private TStringField _MatrialStatus = new TStringField("MatrialStatus");
    public string MatrialStatus
    {
      get { return _MatrialStatus.Get(); }
      set { _MatrialStatus.Set(value); }
    }

    private TDateTimeField _BirthDate = new TDateTimeField("BirthDate");
    public DateTime BirthDate
    {
      get { return _BirthDate.Get(); }
      set { _BirthDate.Set(value); }
    }

    protected override void InitFields()
    {
      Fields.Add(_ClientName);
      Fields.Add(_InsuranceCompany);
      Fields.Add(_PolicyNumber);
      Fields.Add(_EffectiveDate);
      Fields.Add(_InitDate);
      Fields.Add(_ModifiedDate);
      Fields.Add(_PolicyCost);
      Fields.Add(_Fees);
      Fields.Add(_TotalPolicyCost);
      Fields.Add(_Suffix);
      Fields.Add(_FirstName);
      Fields.Add(_MiddleName);
      Fields.Add(_LastName);
      Fields.Add(_Gender);
      Fields.Add(_MatrialStatus);
      Fields.Add(_BirthDate);
    }


    protected override void InitRecords()
    {
    }
  }

  public class TClientRecords : TRecords<TClient> { }

}
